package com.SoftwareManage.service;

import com.SoftwareManage.entity.Cae;
import org.springframework.stereotype.Service;

import java.sql.Date;
import java.util.List;

@Service
public interface CaeService {
    List<Cae> selectAll();
    List<Cae> selectAlls(int page, int pageSize);
    List<Cae> search(String software, String person);
    List<Cae> searchs(String software, String person, int page, int pageSize);
    void update(int id,String software,String person,String ip,String server,String address,String port,Date datedue,String license,String remark);
    void add(String software,String person,String ip,String server,String address,String port,Date datedue,String license,String remark);
    void delete(int id);
    Cae findById(int id);
    List<String> selectAllSoftwares();
}
